package com.tongda.core.vo;

import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
public class DishesCategory implements Serializable {
	private static final long serialVersionUID = 1L;

	private String categoryId;

	private String categoryCode;

	private String categoryName;

	private String foreignName;

	private String restId;

	private int showSeq;

	private String sysdataType;

	private int categoryCount;

	private List<DishesCategory> subDishCategory;

	private String categoryLevel;

	private String parentCategoryId;

	private DishesCategory parentDishesCategory;

	// 菜类中在购物车中的菜的份数
	private int dishNum = 0;

	public DishesCategory() {
		super();
	}

	public DishesCategory(String categoryId, String categoryName) {
		super();
		this.categoryId = categoryId;
		this.categoryName = categoryName;
	}

	public String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}

	public String getCategoryCode() {
		return categoryCode;
	}

	public void setCategoryCode(String categoryCode) {
		this.categoryCode = categoryCode;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public String getForeignName() {
		return foreignName;
	}

	public void setForeignName(String foreignName) {
		this.foreignName = foreignName;
	}

	public String getRestId() {
		return restId;
	}

	public void setRestId(String restId) {
		this.restId = restId;
	}

	public int getShowSeq() {
		return showSeq;
	}

	public void setShowSeq(int showSeq) {
		this.showSeq = showSeq;
	}

	public String getSysdataType() {
		return sysdataType;
	}

	public void setSysdataType(String sysdataType) {
		this.sysdataType = sysdataType;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Override
	public String toString() {
		return this.categoryName;
	}

	public int getCategoryCount() {
		return categoryCount;
	}

	public void setCategoryCount(int categoryCount) {
		this.categoryCount = categoryCount;
	}

	public List<DishesCategory> getSubDishCategory() {
		return subDishCategory;
	}

	public void setSubDishCategory(List<DishesCategory> subDishCategory) {
		this.subDishCategory = subDishCategory;
	}

	public String getCategoryLevel() {
		return categoryLevel;
	}

	public void setCategoryLevel(String categoryLevel) {
		this.categoryLevel = categoryLevel;
	}

	public String getParentCategoryId() {
		return parentCategoryId;
	}

	public void setParentCategoryId(String parentCategoryId) {
		this.parentCategoryId = parentCategoryId;
	}

	public DishesCategory getParentDishesCategory() {
		return parentDishesCategory;
	}

	public void setParentDishesCategory(DishesCategory parentDishesCategory) {
		this.parentDishesCategory = parentDishesCategory;
	}

	public int getDishNum() {
		return dishNum;
	}

	public void setDishNum(int dishNum) {
		this.dishNum = dishNum;
	}

}